WPForms\Forms\Token S

Total Complexity 28
Dependencies 1
Dependents 0
Total lines 370
Lines of code 139
Logical lines of code 64
Comment lines 175
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate()
A
46 8 38
get_valid_tokens()
S
52 4 27
get()
S
60 3 12
get_error_message()
S
74 2 4
maybe_get_support_text()
S
64 2 10
add_frontend_strings()
S
60 1 14
init()
S
82 1 3
hooks()
S
69 1 6
verify()
S
78 1 3
add_token_to_form_atts()
S
71 1 5
process_antispam_filter_wrapper()
S
77 1 3
get_invalid_token_message()
S
79 1 3
get_antispam_filter_message()
S
79 1 3
ajax_get_token()
S
66 1 8